package com.cnhis.cloudhealth.clinical.infusion.base.service;


import com.cnhis.cloudhealth.clinical.infusion.base.mapper.SysParameters;

import java.util.List;
import java.util.Map;

/**
 * Created by hdd on 2016/6/13.
 */
public interface IClinicalSysParameters {

    /**
     * 参数的批量添加
     * @param list
     * @throws Exception
     */
    public void saveSysParameterList(List<SysParameters> list) throws Exception;

    public void updateSysParameterList(List<Map<String, Object>> list) throws Exception;

    public void updateSysParameter(Map<String, Object> map) throws Exception;

    public List<SysParameters> querySysParameter() throws Exception;

    /**
     * 根据  产品id  程序id  编号  查询系统参数
     * @param productid
     * @param programid
     * @param paramno
     * @return
     * @throws Exception
     */
    public SysParameters queryParameterByPara(Map<String, Object> map) throws Exception;

    /**
     * 根据  产品id  程序id  编号  查询系统参数
     * 多个编号    多个参数
     * @return
     * @throws Exception
     */
    public List<SysParameters> queryParamListByParam(Map<String, Object> map) throws Exception;
    
    /**
	 * 
	 * @Title: querySysParameterRange   
	 * @Description: 查询检索最大天数参数
	 * @param: @return
	 * @param: @throws Exception
	 * @return: int      
	 * @throws
	 */
    public int querySysParameterRange() throws Exception;


}
